#include "stdafx.h"
#include "WallForm.h"
#include "MapTools.h"

using namespace pac_man_cll;

WallForm::WallForm(void)
{
}


void pac_man_cll::WallForm::DrawForm(System::Drawing::Graphics^ g, int x, int y)
{
	array <int, 1>^ position = MapTools::GetPanelPosition(gcnew array<int, 1>{x, y});
	sbfond = gcnew System::Drawing::SolidBrush(System::Drawing::Color::Blue);

	g->FillRectangle(sbfond, position[0], position[1], 30, 30);
}
